starter.controller('refundDetailController', function($rootScope,$state,$ionicPopup,$timeout,$scope,Page, localStore,$location) {


    var orderBackId = $state.params.orderBackId;
    if(orderBackId == undefined || orderBackId == "") {
        Page.notice("非法请求!");
        return;
    }

    Page.ajaxPost("app/orderBack/getOrderBackDetailById.do",{orderBackId : orderBackId},function(resp){
        $scope.order = resp.data;
    });

    $scope.backGo = function() {
        $state.go("orders");
    };

});